<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <%@include file="/static/common/commom.jsp" %>
    <script src="/static/js/role.js"></script>
</head>
<body>
<table id="role_dataGrid"></table>

<div id="tb">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" data-cmd="add">新增</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="edit">编辑</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="del">删除</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reload">刷新</a>
</div>

<div id="btns">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-save',plain:true" data-cmd="save">保存</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel',plain:true" data-cmd="cancel">取消</a>
</div>

<div id="role_dialog">
    <form id="role_form" method="post">
        <input type="hidden" name="id">
        <table align="center">
            <tr>
                <td>角色名称:
                    <input  name="name" class="easyui-textbox"  prompt="请输入角色名称"></td>
                <td>角色编号:
                    <input  name="sn" class="easyui-textbox" prompt="请输入角色编号"></td>
            </tr>
            <tr>
                <td>角色菜单:
                    <input  class="easyui-combotree" id="menu_combotree"
                    data-options="cascadeCheck:false,multiple:true,url:'/menu/selectRootMenu.do'">
                </td>
            </tr>
            <tr>
                <td>
                    <table id="allPermission"></table>
                </td>
                <td>
                    <table id="selfPermission"></table>
                </td>
            </tr>
        </table>
    </form>
</div>
</body>
</html>